package com.holly.unit.bpmn.activiti.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.holly.unit.db.api.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述: 流程定义扩展表
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/2/21 14:52
 */
@EqualsAndHashCode(callSuper = true)
@TableName("act_z_process")
@Data
public class ActivitiZProcess extends BaseEntity{

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    private String delFlag;

    @TableField("category_id")
    private String categoryId;
    /**部署id*/

    @TableField("deployment_id")
    private String deploymentId;
    /**描述/备注*/

    @TableField("description")
    private String description;
    /**流程图片名*/

    @TableField("diagram_name")
    private String diagramName;
    /**最新版本*/

    @TableField("latest")
    private Boolean latest;
    /**流程名称*/

    @TableField("name")
    private String name;
    /**流程标识名称*/

    @TableField("process_key")
    private String processKey;
    /**流程状态 部署后默认1激活*/

    @TableField("status")
    private Integer status;
    /**版本*/

    @TableField("version")
    private Integer version;
    /**关联业务表名*/

    @TableField("business_table")
    private String businessTable;
    /**关联前端表单路由名*/

    @TableField("route_name")
    private String routeName;
    /**授权的角色*/

    @TableField("roles")
    private String roles;

    /**应用id*/
    @TableField("appid")
    private String appid;

    @TableField("model_id")
    private String modelId;

    @TableField("type")
    private Integer type;

}
